.markdown-content {
  white-space: pre-wrap;
  font-family: Arial, sans-serif;
  line-height: 1.8;
  color: #333;
  padding: 15px;
}

/* 在句号和冒号后添加换行 */
.markdown-content p {
  margin: 12px 0;
}

.markdown-content p::after {
  content: "\A";
  white-space: pre;
}

/* 加粗序号样式 */
.markdown-content p strong,
.markdown-content li strong {
  font-weight: 600;
}

/* 序号加粗 */
.markdown-content ol {
  counter-reset: item;
  list-style-type: none;
  padding-left: 0;
}

.markdown-content ol li {
  counter-increment: item;
  margin: 8px 0;
  padding-left: 25px;
  position: relative;
}

.markdown-content ol li::before {
  content: counter(item) ".";
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* 优化列表样式 */
.markdown-content ul {
  list-style-type: disc;
  padding-left: 20px;
}

.markdown-content ul li {
  margin: 8px 0;
}

/* 代码块样式 */
.markdown-content pre {
  background-color: #f6f8fa;
  border-radius: 6px;
  padding: 16px;
  overflow-x: auto;
}

.markdown-content code {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.9em;
}
